#pragma once
#include "gf_thread.h"
#include "gf_server.h"

class gf_extract_thread : public thread
{
public:
	gf_extract_thread(thread_pool *tp){set_thread_pool(tp);}
	int thread_func();
};

class gf_merge_thread : public thread
{
public:
	gf_merge_thread(thread_pool *tp){set_thread_pool(tp);}
	int thread_func();
	vector<address> &get_gf_match();
};

class gf_match_thread : public thread
{
public:
	gf_match_thread(thread_pool *tp){set_thread_pool(tp);}
	int thread_func();
	database_bdb *get_database();
};


